package cn.iocoder.yudao.module.common.service.knowledgepointrelation;

import java.util.*;
import javax.validation.*;
import cn.iocoder.yudao.module.common.controller.admin.knowledgepointrelation.vo.*;
import cn.iocoder.yudao.module.common.dal.dataobject.knowledgepointrelation.KnowledgePointRelationDO;
import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.framework.common.pojo.PageParam;

/**
 * 知识关系点 Service 接口
 *
 * @author 芋道源码
 */
public interface KnowledgePointRelationService {

    /**
     * 创建知识关系点
     *
     * @param createReqVO 创建信息
     * @return 编号
     */
    Long createKnowledgePointRelation(@Valid KnowledgePointRelationSaveReqVO createReqVO);

    /**
     * 更新知识关系点
     *
     * @param updateReqVO 更新信息
     */
    void updateKnowledgePointRelation(@Valid KnowledgePointRelationSaveReqVO updateReqVO);

    /**
     * 删除知识关系点
     *
     * @param id 编号
     */
    void deleteKnowledgePointRelation(Long id);

    /**
     * 获得知识关系点
     *
     * @param id 编号
     * @return 知识关系点
     */
    KnowledgePointRelationDO getKnowledgePointRelation(Long id);

    /**
     * 获得知识关系点分页
     *
     * @param pageReqVO 分页查询
     * @return 知识关系点分页
     */
    PageResult<KnowledgePointRelationDO> getKnowledgePointRelationPage(KnowledgePointRelationPageReqVO pageReqVO);

}